import request from "./request";

const baseURL = '/client'

// rpc封装接口
const info = (modelId) => {
  return request.doRequest(`${baseURL}/info/${modelId}`, {})
};

const stat = (modelId) => {
  return request.doRequest(`${baseURL}/stat/${modelId}`, {})
};

const reConnect = (modelId) => {
  return request.doRequest(`${baseURL}/reconnect/${modelId}`, {})
};

const ClientApi = {
  info, stat, reConnect
};

export default ClientApi;
